'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 联盟帮助功能--接口集合
 * @author sundbcn@gmail.com (sun debing)
 */

var unionAllHelpPeople = require('./unionHelp/unionAllHelpPeople.js');
var unionHelpPeople = require('./unionHelp/unionHelpPeople.js');
var unionRequestHelp = require('./unionHelp/unionRequestHelp.js');

module.exports = function (app) {
    return new Handler(app);
};

var Handler = function (app) {
    this.app = app;
};

/**
 * 帮助单人
 */
Handler.prototype.unionHelpPeople = function (msg, session, next) {
    unionHelpPeople(msg, session, next);
};

/**
 * 请求帮助
 */
Handler.prototype.unionRequestHelp = function (msg, session, next) {
    unionRequestHelp(msg, session, next);
};

/**
 * 帮助全部
 */
Handler.prototype.unionAllHelpPeople = function (msg, session, next) {
    unionAllHelpPeople(msg, session, next);
};
